package org.yefei.homeworkday17.three;

public class TestComputer {

	public static void main(String[] args) {
		Computer c = new Computer("联想");
		c.setCpu(new InterCpu("英特尔", "3.8Ghz"));
		c.setHardDisk(new LenovoHardDisk("联想", "1T"));
		c.setStorage(new HpStorage("惠普", "4g"));
		System.out.println(c);
	}

}
